
import axios, {Axios} from 'axios'
const context = "/ucenter"

/**
 * 获取 DmsMachineDeployTemplate 分页列表
*/
export function getDmsMachineDeployTemplatePagination(data: any) {
  return axios.get(`${context}/dmsMachineDeployTemplate/pagination`, { params: data });
}


/**
 * 获取 DmsMachineDeployTemplate 所有数据
*/
export function getDmsMachineDeployTemplateAllList(data: any) {
  return axios.get(`${context}/dmsMachineDeployTemplate/all`, { params: data });
}


/**
 * 获取 DmsMachineDeployTemplate 详情
*/
export function getDmsMachineDeployTemplateDetailById(id: any) {
  return axios.get(`${context}/dmsMachineDeployTemplate/${id}`, { params:{id} });
}


/**
 * 新增 DmsMachineDeployTemplate
*/
export function addDmsMachineDeployTemplate(data: any) {
  return axios.post(`${context}/dmsMachineDeployTemplate`, data);
}

/**
 * 修改 DmsMachineDeployTemplate
*/
export function updateDmsMachineDeployTemplate(data: any) {
  return axios.put(`${context}/dmsMachineDeployTemplate`, data);
}

/**
 * 删除 DmsMachineDeployTemplate
*/
export function batchRemoveDmsMachineDeployTemplate(data: any) {
  return axios.post(`${context}/dmsMachineDeployTemplate/batchRemove`, data);
}

    